#ifndef EXTREME_C_EXAMPLES_CHAPTER_8_2_PERSON_H
#define EXTREME_C_EXAMPLES_CHAPTER_8_2_PERSON_H

//前向声明
struct person_t;

//内存分配函数
struct perosn_t* person_new();

//构造函数
void person_ctor(struct person_t*, const char*, const char*, unsigned int);

//析构函数
void person_dtor(struct person_t*);

//行为函数
void person_get_first_name(struct person_t*, char*);
void person_get_last_name(struct person_t*, char*);
unsigned person_get_brith_year(struct person_t*);

#endif